package org.example.setup.mapper;

import org.example.model.domain.express.ExpressAccount;
import org.example.model.domain.express.ExpressList;

public interface ExpressListMapper {
    /**
     * 修改电话
     * @param expressList
     * @return
     */

    int userPhoneUpdate(ExpressList expressList);

    /**
     * 修改登录密码
     * @param expressList
     * @return
     */
    int userPasswordUpdate(ExpressList expressList);

    /**
     * 修改支付密码
     * @param expressList
     * @return
     */
    int userPayPasswordUpdate(ExpressList expressList);

    /**
     * 注销
     * @param expressList
     * @return
     */
    int delete(ExpressList expressList);

    /**
     * 根据手机号进行查询判重
     * @param phone
     * @return
     */
    ExpressAccount phoneYz(String phone);

}
